/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package test3.problem2;

/**
 *
 * @author hoang.pt
 */
public class P2Demo {
    /**
     * constructor
     */
    public P2Demo() {
    }

    /**
     * main
     * @param a
     */
    public static void main(String[] a) {
        //init Data
        Data d = new Data();

        //init thread 1 get data
        new Thread1(d);

        //init thread 2 display
        new Thread2(d);
    }
}
